package org.lanqiao.ssm.facede.auth.facede.impl;

import javax.annotation.Resource;

import org.lanqiao.ssm.common.core.facede.base.BaseManagerFacede;
import org.lanqiao.ssm.common.core.service.BaseServiceI;
import org.lanqiao.ssm.facede.auth.facede.UserManagerFacedeI;
import org.lanqiao.ssm.facede.auth.model.User;
import org.lanqiao.ssm.facede.auth.service.UserServiceI;
import org.springframework.stereotype.Component;


@Component("userManagerFacede")
public class UserManagerFacedeImpl extends
		BaseManagerFacede<User, String> implements UserManagerFacedeI {
	@Resource
	private UserServiceI userService;

	@Override
	public BaseServiceI<User, String> getService() {
		return userService;
	}

	public int edit(User user) {
		return userService.edit(user);
	}

}
